package com.generator.statics.outboundStatics.service;

import com.generator.statics.outboundStatics.pojo.*;
import com.generator.util.PageModel;


import java.util.List;

public interface IOutCountService {

    /**
     * 查找所有出库信息
     * @param outCountDetail
     * @param pageModel
     * @return
     */
    public PageModel<OutCountObject> getTotalOutCount(OutCountObject outCountDetail, PageModel<OutCountObject> pageModel);

    /**
     * 查找指定的仓库的出库信息的详情
     * @param outCountDetail
     * @param pageModel
     * @return
     */
    public PageModel<OutCountDetail> getOutCountDetail(OutCountDetail outCountDetail,PageModel<OutCountDetail> pageModel);

    /**
     * 根据订单id找到指定订单详情
     */
    public OutCountDelivery getDeliveryByOrderId(OutCountDelivery outCountDelivery);

    /**
     * 查询指定订单号下的商品详情
     */
    public List<CommentDetial> getCommentDetialByOrderId(CommentDetial commentDetial);

    /**
     * 查找省份
     */
    public List<Province> getAllProvince(Province province);

    /**
     * 查找城市
     */
    public List<City> getAllCity(City city);
}
